package com.liinxin.flac_management.entity;

import java.io.File;
import java.util.Arrays;

public class Author {
    private File authorFile;
    private File[] works;

    public Author() {
    }

    public Author(File authorFile, File[] works) {
        this.authorFile = authorFile;
        this.works = works;
    }

    public File getAuthorFile() {
        return authorFile;
    }

    public void setAuthorFile(File authorFile) {
        this.authorFile = authorFile;
    }

    public File[] getWorks() {
        return works;
    }

    public void setWorks(File[] works) {
        this.works = works;
    }

    @Override
    public String toString() {
        return "Author{" +
                "authorFile=" + authorFile +
                ", works=" + Arrays.toString(works) +
                '}';
    }
}
